package com.miniapp.service;

import com.aliyun.oss.model.SimplifiedObjectMeta;

import java.io.InputStream;

/**
 * 远程文件服务类
 */
public interface RemoteFileService {

    /**
     * 上传文件到阿里云
     * @param saveRemoteFilePath 保存的远程文件路径
     * @param uploadFileInputStream 要上传的流对象
     * @return 阿里云的PubOjectResult对象
     */
    SimplifiedObjectMeta uploadToAliyun(String saveRemoteFilePath, InputStream uploadFileInputStream);
}
